projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0d840
)
cups: Fix unused variable warning when not using colord
author
Benjamin Otte
<otte@redhat.com>
Fri, 10 Jun 2011 13:00:39 +0000
(15:00 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 10 Jun 2011 13:01:04 +0000
(15:01 +0200)
modules/printbackends/cups/gtkprintercups.c
patch
|
blob
|
history
diff --git
a/modules/printbackends/cups/gtkprintercups.c
b/modules/printbackends/cups/gtkprintercups.c
index 3ed44ae41de8c33d79fad297ba9cb33b980e660f..09b5bfd916ac167798b5cb2afb7c91dc3a04a0c5 100644
(file)
--- a/
modules/printbackends/cups/gtkprintercups.c
+++ b/
modules/printbackends/cups/gtkprintercups.c
@@
-179,7
+179,9
@@
gtk_printer_cups_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
+#ifdef HAVE_COLORD
GtkPrinterCups *printer = GTK_PRINTER_CUPS (object);
+#endif
switch (prop_id)
{